package com.book.service;

import com.book.dao.CategoryMapper;
import com.book.entity.Admin;
import com.book.entity.Category;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by 落叶的思恋 on 2017/6/5.
 */
@Service("CategoryInfoService")
public class CategoryInfoServiceImp implements CategoryInfoService {
    @Autowired
    CategoryMapper categoryMapper;

    @Override
    public List<Category> select() {
        return categoryMapper.select();
    }


}
